package com.zhan.xioj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@MapperScan("com.zhan.xioj.mapper")
//exposeProxy = true后，可以在方法执行时通过AopContext.currentProxy()获取当前的代理对象
@EnableAspectJAutoProxy(exposeProxy = true)
public class XiojBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiojBackendApplication.class, args);
    }

}
